package com.demo.rediscaffeine;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @description:
 * @author：nihongyu
 * @date: 2023/4/18
 */
@SpringBootApplication
@EnableCaching  //必须加上这个注解，controller 里面的缓存注解才会生效
public class App extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
